package com.chenjj.scala.oo

import com.chenjj.scala.FirstClass
import com.chenjj.scala.oo.Markers
import org.slf4j.Marker

object Main   {



  def main(args: Array[String]): Unit = {

    /**测试构造函数*/
    //val chenjj = new Person("chen","jianjian","架构师")
    //println(chenjj)

    /**测试单例/伴生类，伴生对象*/
    //print(Markers.getMarker("blue"))
    val clazz =  Class.forName("com.chenjj.scala.oo.Markers")
    println(clazz.getClassLoader)
    println(clazz.getResource(""))
    println(clazz)
  }
}
